package test1;

/**
 * @author cjx
 * @create 2024/06/05
 * @description
 */
public class Lecturer extends Teacher {
    public Lecturer() {
    }

    public Lecturer(String id, String name, String duty) {
        super(id, name, duty);
    }
    @Override
    public void work () {
        System.out.println(this.getName() + "负责" + this.getDuty());
    }
}
